package com.igorkundovic.guitarstab;

import org.apache.tapestry5.beaneditor.Validate;

public interface User {

	Long getId();
	void setUserName(String userName);
	@Validate(value="required,maxlength=12,minlength=5")
	String getUserName();
	
	void setPassword(String password);
	@Validate(value="required,maxlength=12,minlength=5")
	String getPassword();
	
	void setEmail(String email);
	@Validate(value="regexp,required")
	String getEmail();
	@Validate(value="required")
	Genre getGenre();
	void setGenre(Genre genre);
	@Validate(value="required")
	Country getCountry();
	void setCountry(Country country);
	
}
